home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: cs.mun.ca!henry
- From: henry@cs.mun.ca (Henry Hum)
- Subject: wierd compiler error
- Message-ID: <1996Jan31.162834.25836@cs.mun.ca>
- Summary: wierd problem
- Keywords: gcc, multiply defined?
- Sender: usenet@cs.mun.ca (NNTP server account)
- Organization: CS Dept., Memorial University of Newfoundland
- X-Newsreader: NN version 6.4.19
- Date: Wed, 31 Jan 1996 16:28:34 GMT
-
-
- Hello:
-
- Has anyone encountered errors like this?
-
- a.o: _MSG_lat_bin_min: multiply defined
- a.o: _MSG_del_bin_min: multiply defined
- a.o: _MSG_ddl_bin_min: multiply defined
- a.o: _MSG_lat_bin_smp: multiply defined
- a.o: _MSG_del_bin_smp: multiply defined
- a.o: _MSG_ddl_bin_smp: multiply defined
- a.o: _MSG_lat_bin_cnt: multiply defined
- a.o: _MSG_lat_bin_max: multiply defined
- a.o: _MSG_del_bin_max: multiply defined
- a.o: _MSG_ddl_bin_max: multiply defined
-
- where MSG_ddl_bin_max, MSG_ddl_bin_min, MSG_ddl_bin_del....
- are defined in my header file.
-
- and
-
- where the app did compile before without this error, but
- dumped core when I tried to execute it.
-
- Flags used were
-
- CFLAGS = -g -Wall -ffixed-%l0 -ffixed-%l2 -D_NO_LONGLONG
- -D__USE_FIXED_PROTOTYPES__
-
- This error started appearing after I commented out some
- definitions in two headers which are never called (I am cleaning up
- code). The headers are not called by other headers and I am
- perplexed. I am using gcc2.5.8 on a sparc2 clone running SunOS4.1.1.
-
- Observations appreciated.
-
- henry@maple.cs.mun.ca
-
-
- --
-
- Henry Hum henry@garfield.cs.mun.ca
-
- -----BEGIN PGP PUBLIC KEY BLOCK-----
-